﻿
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="${pageContext.request.contextPath }/css/admin.css" rel="stylesheet" />
    <script src="${pageContext.request.contextPath }/script/jquery-1.10.2.js"></script>
    <script src="${pageContext.request.contextPath }/ckeditor/ckeditor.js"></script>
    <script>
        
    </script>
</head>
<body>
    <div id="page">
        <div id="header">
            <div id="corpTitle">美食前线后台</div>
            <div id="rightTitle">新闻编辑</div>
        </div>
        <div id="main">              
            <div id="nav">
                <div class="menu">
                    <ul>
                        <li>类别管理</li>
                        <li>美食管理</li>
                        <li>新闻管理</li>
                        <li>留言管理</li>
          			    <li>用户管理</li>
                    </ul>
                </div>
            </div>
            <div id="container">
                <form action="${pageContext.request.contextPath }/NewsEditServlet" method="post">
                    <table class="tbFoods">
                        <tr>
                            <td>新闻标题:</td>
                            <td><input type="text" name="newstitle" value="${news.title }"/></td>
                        </tr>
                        <tr>
                            <td>新闻内容:</td>
                            <td class="foodsDesc"><textarea  name="newscontens" class="ckeditor">${news.content }</textarea></td></td>
                        </tr>
                        <tr><td></td>
                            <td><input type="submit" value="保存"/><input type="reset" value="取消"/></td>
                            <td><input type="hidden" value="${news.id}" name="nid"/></td>
                        </tr>
                    </table>
                </form>
            </div>
            <div class="clear"></div>
        </div>


            <div id="footer">
                <p><a>首页|</a><a>关于我们|</a><a>联系我们</a></p>
                <p>@©2016 网站样板-餐饮 版权所有</p>
                <p>技术支持：广州广力 | 手机版 | 管理登录</p>
            </div>
    </div>

</body>
</html>
